/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/26/2010 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is ChiTietPhieuBanHang object, it is object of BusinessObject table.
    /// </summary>
    public class ChiTietPhieuBanHang
    {
        #region fields
        private Int64 maPhieuBanHang;
        private string maMatHang;
        private int maDonViTinh;
        private int soLuong;
        private double giaBan;
        private int order;
        private Paging objPaging;
        private string curencyCode;
        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;


        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for ChiTietPhieuBanHang Object
        /// </summary>
        public ChiTietPhieuBanHang()
        {
            this.maPhieuBanHang = Int64.MinValue;
            this.maMatHang = string.Empty;
            this.maDonViTinh = int.MinValue;
            this.soLuong = int.MinValue;
            this.giaBan = double.MinValue;
            this.order = int.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;
            this.curencyCode = string.Empty;

        }
        #endregion constructor
        #region properties
        /// <summary>
        /// Define MaPhieuBanHang Property
        /// </summary>
        public Int64 MaPhieuBanHang
        {
            get { return this.maPhieuBanHang; }
            set { this.maPhieuBanHang = value; }
        }
        public string CurencyCode
        {
            get { return this.curencyCode; }
            set { this.curencyCode = value; }
        }
        /// <summary>
        /// Define MaMatHang Property
        /// </summary>
        public string MaMatHang
        {
            get { return this.maMatHang; }
            set { this.maMatHang = value; }
        }
        /// <summary>
        /// Define MaDonViTinh Property
        /// </summary>
        public int MaDonViTinh
        {
            get { return this.maDonViTinh; }
            set { this.maDonViTinh = value; }
        }
        /// <summary>
        /// Define SoLuong Property
        /// </summary>
        public int SoLuong
        {
            get { return this.soLuong; }
            set { this.soLuong = value; }
        }
        /// <summary>
        /// Define GiaBan Property
        /// </summary>
        public double GiaBan
        {
            get { return this.giaBan; }
            set { this.giaBan = value; }
        }
        /// <summary>
        /// Define Order Property
        /// </summary>
        public int Order
        {
            get { return this.order; }
            set { this.order = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }

        #endregion properties
    }
}